package cn.hxzy.client;

import cn.hxzy.fallback.ChapterClientFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(name = "teacher-service")
public interface TaskMengerClient {

    @GetMapping("/courses/classCourse")
    List<Integer> getCoursesIdByClassId(@RequestParam("classId") Integer classId);
}
